﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WinnerCMSEmailSetting.aspx.cs"
    Inherits="WinnerCMS.WebUI.Admin.ControlPanel.WinnerCMSEmailSetting" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head runat="server">
    <title>CMS 邮件设置</title>
    <meta charset="utf-8" />
    <meta http-equiv="Pragma" content="No-cach" />
    <%: Styles.Render("~/Content/Bootstrap/css") %>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table width="100%" class="TabelGrid">
                    <tr>
                        <td align="center" colspan="2">由于下列信息全部存放于WinnerCMS.config文件中。
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">是否发送邮件？
                        </td>
                        <td>
                            <asp:CheckBox ID="cbkMailSend" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">系统管理员Email：<br>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMailFrom" runat="server"></asp:TextBox>给用户发送邮件时，显示的来源Email信息
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">显示的Email名称：<br>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMailFromName" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">SMTP Server地址：
                        </td>
                        <td>
                            <asp:TextBox ID="txtMailDomain" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">邮件登录用户名：
                        </td>
                        <td>
                            <asp:TextBox ID="txtMailServerUserName" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="RowTitle">邮件登录密码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtMailServerPassWord" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <div align="center">
                    <asp:Button ID="btnOK" runat="server" Cssclass="btn btn-default" OnClick="btnOK_Click" Text="保存" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>